Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add indices on assets and subtitle field #615

Merged
merged 2 commits into from
Jan 6, 2025
Merged

Conversation

jterry64
Copy link
Member

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Make sure you are requesting to pull a topic/feature/bugfix branch (right side). Don't request your master!
  • Make sure you are making a pull request against the develop branch (left side). Also you should start your branch off our develop.
  • Check the commit's or even all commits' message styles matches our requested structure.
  • Check your code additions will fail neither code linting checks nor unit test.

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

No index on assets table, no subtitle field. Internal asset queries take up most of the DB time according to New Relic, so want to see if adding an index helps.

Issue Number: GTC-3069

What is the new behavior?

  • Indices on dataset and version fields on assets table.
  • Subtitle field in metadata

Does this introduce a breaking change?

  • Yes
  • No

Other information

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.13%. Comparing base (8fa3487) to head (bf2b0e8).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #615      +/-   ##
===========================================
+ Coverage    81.07%   81.13%   +0.05%     
===========================================
  Files          130      131       +1     
  Lines         5876     5894      +18     
===========================================
+ Hits          4764     4782      +18     
  Misses        1112     1112              
Flag Coverage Δ
unittests 81.13% <100.00%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jterry64 jterry64 merged commit 41091f9 into develop Jan 6, 2025
2 checks passed
@jterry64 jterry64 deleted the gtc-3069/asset_index branch January 6, 2025 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants